//
//  XZStudentNoPayCell.m
//  优学荟管理系统
//
//  Created by edz on 2018/1/11.
//  Copyright © 2018年 星道三好. All rights reserved.
//

#import "XZStudentNoPayCell.h"

@implementation XZStudentNoPayCell {
    
    __weak IBOutlet UILabel *name;
    __weak IBOutlet UILabel *noPayClass;
    __weak IBOutlet UILabel *phoneNum;
}

- (void)setModel:(XZStudentdetailModel *)model {
    _model = model;
    name.text = model.petName;
    noPayClass.text = model.model.name;
    phoneNum.text = model.phone;
}

- (IBAction)callPhone:(id)sender {
    if (_CallPhone) {
         _CallPhone(self.model.phone);
    }
}


@end
